Skip to content

feat: timezone management#364

Merged
drankou merged 51 commits into
mainfrom
feat/timezone-preferences
Jul 9, 2026
Merged

feat: timezone management#364
drankou merged 51 commits into
mainfrom
feat/timezone-preferences

Conversation

@sarimrmalik

@sarimrmalik sarimrmalik commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Implements dashboard timezone preferences and applies the selected timezone consistently across timestamp display, monitoring, usage, and time-range selection.

  • adds a dashboard timezone preference with settings UI, persisted state, and layout-level hydration/provider wiring
  • applies the selected timezone across dashboard timestamps, including sandboxes, builds, billing, members, templates, webhooks, and other table/detail surfaces
  • updates monitoring and usage flows so chart overlays, axis labels, presets, and time-range controls all use the dashboard timezone
  • centralizes date/time formatting behind shared timezone utilities (formatDate, formatDateParts, formatDateRange, getRelativeDay) and removes duplicated one-off formatters
  • aligns picker parsing/validation and min/max calendar bounds with dashboard timezone behavior instead of browser-local day boundaries
  • adds focused unit coverage for timezone formatting, picker logic, usage sampling/presets, and related utilities

closes DASH-58

@cla-bot cla-bot Bot added the cla-signed label Jun 8, 2026
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Jul 9, 2026 4:18pm
web-juliett Error Error Jul 9, 2026 4:18pm

Request Review

@sarimrmalik sarimrmalik changed the title feat(timezone): implement timezone management in dashboard feat: implement timezone management in dashboard Jun 9, 2026
sarimrmalik and others added 11 commits July 9, 2026 12:22
- Removed direct imports of `formatDate`, `formatDateParts`, and `useTimezone` from the timezone module.
- Updated imports to utilize the new formatting utilities from `@/lib/utils/formatting`.
- Cleaned up the timezone settings and related components for better modularity and maintainability.
- Introduced a conditional button that allows users to select their browser's timezone if it differs from the currently selected timezone.
- Enhanced accessibility by managing button visibility and interaction based on the browser timezone availability.
@linear-code

linear-code Bot commented Jul 9, 2026

Copy link
Copy Markdown

DASH-58

@drankou drankou removed the request for review from huv1k July 9, 2026 15:36
@drankou drankou merged commit 9e52780 into main Jul 9, 2026
13 checks passed
@drankou drankou deleted the feat/timezone-preferences branch July 9, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants